Calculator_Canvas

Author

martin

Constructors

Link copied to clipboard
constructor()
Creates new form Calculator_Canvas
constructor(owner: IFrame)
Creates new form Calculator_Canvas

Types

Link copied to clipboard
private open class Button_Listener : ActionListener
Listener to listen for button actuion events.

Properties

Link copied to clipboard
private val Alpha_Text: Array<Array<Short>>
Text to be displayed on the calculator display.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var Button_Dot: Calculator_Button_5
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var Button_EXP: Calculator_Button_5
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var Button_Num_0: Calculator_Button_5
Link copied to clipboard
open var Button_Num_1: Calculator_Button_5
Link copied to clipboard
open var Button_Num_2: Calculator_Button_5
Link copied to clipboard
open var Button_Num_3: Calculator_Button_5
Link copied to clipboard
open var Button_Num_4: Calculator_Button_5
Link copied to clipboard
open var Button_Num_5: Calculator_Button_5
Link copied to clipboard
open var Button_Num_6: Calculator_Button_5
Link copied to clipboard
open var Button_Num_7: Calculator_Button_5
Link copied to clipboard
open var Button_Num_8: Calculator_Button_5
Link copied to clipboard
open var Button_Num_9: Calculator_Button_5
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private val Indicators: Array<Boolean>
Indicators:
  1. Inv
  2. Hyp
  3. K
  4. Hlt
  5. Run
  6. Wrt
  7. Pcl
  8. Deg
  9. Rad
  10. Gra
  11. Keyboard_Alpha
Link copied to clipboard
private val logger: Logger
class logger instance
Link copied to clipboard
private val Maximum_Size_Scale: Double = 1.5
Link copied to clipboard
Link copied to clipboard
private val Off_Colour: Color
The Indicator images for inactivel indicators.
Link copied to clipboard
private val On_Colour: Color
The Indicator images for active indicators.
Link copied to clipboard
private val owner: IFrame
Link copied to clipboard
private val SCALE_HEIGHT: Double = 10.7
Link copied to clipboard
private val SCALE_WIDTH: Double = 5.5
Link copied to clipboard
private val serialVersionUID: Long = 1005672275186071737
Link copied to clipboard
private val TAG: String
class logger tag.
Link copied to clipboard
Listener to listen for button action events.
Link copied to clipboard

Functions

Link copied to clipboard
private open fun calculateMinimumSize()
Link copied to clipboard
open fun displayException(Exception: Throwable)
display additional information on the error.
Link copied to clipboard
private open fun getCharacter(Alpha_Code: Short): Icon
get the characters image to display.
Link copied to clipboard
open fun getDisplayText(Row: Int): Array<Short>
Get text currently displayed (as one java string).
Link copied to clipboard
Link copied to clipboard
open fun getJavaText(Row: Int): String
Link copied to clipboard
private open fun initComponents()
Link copied to clipboard
private open fun initPost()
I had used lazy loading before but frequently there were load interrupted errors with images only loaded partially.
Link copied to clipboard
private open fun initPre()
Link copied to clipboard
private open fun propertyChange(evt: PropertyChangeEvent)
Link copied to clipboard
open fun setDisplayText(Row: Int, Text: Array<Short>)
Set text to be displayed (calculator alpha codes).
Link copied to clipboard
private open fun setIndicator(Indicator_Panel: JLabel, Indicator_Nr: Int, Active: Boolean)
set the indicator image.
Link copied to clipboard
private open fun setIndicatorFonts()
Link copied to clipboard
open fun setIndicators(Indicators: Array<Boolean>)
Set the indicators
  1. Inv
  2. Hyp
  3. K
  4. Hlt
  5. Run
  6. Wrt
  7. Pcl
  8. Deg
  9. Rad
  10. Gra
  11. Keyboard_Alpha
Link copied to clipboard
open fun setOnOff(on: Boolean)
set the calculators on of status.
Link copied to clipboard
open fun toString(): String